package ltd.hanamaki.study.oop.demo06;

public class ApplicationAB {

    public static void main(String[] args) {

        B b = new B();
        System.out.println(b.name);
        A a = new A();
        System.out.println(a.name);
        a.test();


    }
}
